import request from "@/utils/request.js";

/**
 * openid 登录
 * 
 */
export function openidLogin(data) {
	return request.post('event/login/index', data, {
		noAuth: true
	});
}

/**
 * openid 模拟登录
 * 
 */
export function test_login(data) {
	return request.post('event/login/test_login', data, {
		noAuth: true
	});
}

/**
 * 企业微信登录
 * 
 */
export function qy_login(data) {
	return request.get('event/login/qy_login', data, {
		noAuth: true
	});
}


/**
 * 获取报名信息
 * 
 */
// export function sign_info(data) {
// 	return request.post('event/sign_info', data, {
// 		noAuth: false
// 	});
// }

/**
 * 获取会议信息
 * 
 */
export function user_info(data) {
	return request.post('event/Api/attendees_info', data, {
		noAuth: false
	});
}

/**
 * 报名
 * 
 */
export function sign_create(data) {
	return request.post('event/api/enroll', data, {
		noAuth: false
	});
}

/**
 * 搜索酒店
 * 
 */
export function hotels(data) {
	return request.post('event/api/hotels', data, {
		noAuth: false
	});
}

/**
 * 部门
 * 
 */
export function department(data) {
	return request.post('event/api/department', data, {
		noAuth: false
	});
}

/**
 * 上传图片
 * 
 */
export function upload(data) {
	return request.post('event/upload', data, {
		noAuth: false
	});
}

/**
 * 取消报名
 * 
 */
export function sign_delete(data) {
	return request.post('event/api/enroll_cancel', data, {
		noAuth: false
	});
}

/**
 * 修改报名
 * 
 */
export function sign_update(data) {
	return request.post('event/api/enroll_edit', data, {
		noAuth: false
	});
}

/**
 * 职位
 * 
 */
export function job(data) {
	return request.post('event/api/job', data, {
		noAuth: false
	});
}

/**
 * 会议信息
 * 
 */
export function event_info(data) {
	return request.post('event/api/info', data, {
		noAuth: false
	});
}

/**
 * 会议列表
 * 
 */
export function event_list(data) {
	return request.post('event/api/event_list', data, {
		noAuth: false
	});
}

/**
 * 企业会议列表
 * 
 */
export function event_list_qy(data) {
	return request.post('event/api/event_list_qy', data, {
		noAuth: false
	});
}

/**
 * 用户信息
 * 
 */
export function get_my_info(data) {
	return request.post('event/api/user_info', data, {
		noAuth: false
	});
}

export function eventStart(data) {
	return request.get('event/Apinews/eventStart', data, {
		noAuth: false
	});
}

export function laibingCount(data) {
	return request.get('event/Apinews/laibingCount', data, {
		noAuth: false
	});
}

export function get_form_list(data) {
	return request.post('event/Api/get_form_list', data, {
		noAuth: false
	});
}

export function info(data) {
	return request.post('event/Api/info', data, {
		noAuth: false
	});
}

export function enroll(data) {
	return request.post('event/Api/enroll', data, {
		noAuth: false
	});
}

export function sign(data) {
	return request.post('event/Api/sign', data, {
		noAuth: false
	});
}

export function schedule(data) {
	return request.post('event/Api/schedule', data, {
		noAuth: false
	});
}

export function evenCan(data) {
	return request.get('event/Apinews/evenCan', data, {
		noAuth: false
	});
}

export function register_info(data) {
	return request.post('event/Api/register_info', data, {
		noAuth: false
	});
}

export function enroll_edit(data) {
	return request.post('event/Api/enroll_edit', data, {
		noAuth: false
	});
}

export function enroll_cancel(data) {
	return request.post('event/Api/enroll_cancel', data, {
		noAuth: false
	});
}

export function sign_info(data) {
	return request.post('event/Api/sign_info', data, {
		noAuth: false
	});
}

export function paiStart(data) {
	return request.get('event/Apinews/paiStart', data, {
		noAuth: false
	});
}

export function attendees_search(data) {
	return request.post('event/Api/attendees_search', data, {
		noAuth: false
	});
}

export function attendees(data) {
	return request.post('event/Api/attendees', data, {
		noAuth: false
	});
}

export function intro(data) {
	return request.post('event/Api/intro', data, {
		noAuth: false
	});
}

export function intro_info(data) {
	return request.post('event/Api/intro_info', data, {
		noAuth: false
	});
}

export function attendees_info(data) {
	return request.post('event/Api/attendees_info', data, {
		noAuth: false
	});
}

export function contact(data) {
	return request.post('event/Api/contact', data, {
		noAuth: false
	});
}

export function publish_topic(data) {
	return request.post('event/Api/publish_topic', data, {
		noAuth: false
	});
}

export function uploadImg(data) {
	return request.post('event/Api/uploadImg', data, {
		noAuth: false
	});
}

export function topic(data) {
	return request.post('event/Api/topic', data, {
		noAuth: false
	});
}

export function fabulous(data) {
	return request.post('event/Api/fabulous', data, {
		noAuth: false
	});
}

export function comment_delete(data) {
	return request.post('event/Api/comment_delete', data, {
		noAuth: false
	});
}

export function topic_delete(data) {
	return request.post('event/Api/topic_delete', data, {
		noAuth: false
	});
}

export function comment(data) {
	return request.post('event/Api/comment', data, {
		noAuth: false
	});
}

export function cate_list(data) {
	return request.post('event/Api/cate_list', data, {
		noAuth: false
	});
}

export function cate_img(data) {
	return request.post('event/Api/cate_img', data, {
		noAuth: false
	});
}

export function img_zan(data) {
	return request.post('event/Api/img_zan', data, {
		noAuth: false
	});
}

export function cloud_info(data) {
	return request.post('event/Api/cloud_info', data, {
		noAuth: false
	});
}

export function cloud_save(data) {
	return request.post('event/Api/cloud_save', data, {
		noAuth: false
	});
}

export function cloud(data) {
	return request.post('event/Api/cloud', data, {
		noAuth: false
	});
}

export function questionnaire_info(data) {
	return request.post('event/Api/questionnaire_info', data, {
		noAuth: false
	});
}

export function questionnaire_save(data) {
	return request.post('event/Api/questionnaire_save', data, {
		noAuth: false
	});
}

export function questionnaire(data) {
	return request.post('event/Api/questionnaire', data, {
		noAuth: false
	});
}

export function vote_info(data) {
	return request.post('event/Api/vote_info', data, {
		noAuth: false
	});
}

export function vote_save(data) {
	return request.post('event/Api/vote_save', data, {
		noAuth: false
	});
}

export function vote(data) {
	return request.post('event/Api/vote', data, {
		noAuth: false
	});
}

export function collect_question_add(data) {
	return request.post('event/Api/collect_question_add', data, {
		noAuth: false
	});
}

export function event_hotel_detail(data) {
	return request.post('event/Api/event_hotel_detail', data, {
		noAuth: false
	});
}

export function qy_sdk(data) {
	return request.post('event/login/qy_sdk', data, {
		noAuth: false
	});
}

// export function loginMobile(data) {
	// return request.post("index/phone_login", data, {
	// 	noAuth: true
	// });
// }

// export function getCodeApi() {
// 	return request.get("index/sms", {}, {
// 		noAuth: true
// 	});
// }